function [ imTarget ] = ImageTranslate(imSource, offsetX, offsetY )    
    [ x y ] = meshgrid(1 : size(imSource, 2), 1 : size(imSource, 1));
    [ x2 y2 ] = meshgrid((1 : size(imSource, 2)) - offsetX, (1 : size(imSource, 1)) - offsetY);
    imTarget = interp2(x, y, imSource, x2, y2);
    imTarget(isnan(imTarget)) = 0;
end

